/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.una.accidentmanagement.bo;

import br.com.una.accidentmanagement.exception.ImportException;
import br.com.una.accidentmanagement.exception.InsertException;
import br.com.una.accidentmanagement.exception.UpdateException;
import br.com.una.accidentmanagement.model.*;
import java.util.List;

import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.Element;
import java.io.File;
import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;

/**
 *
 * @author emilianoeloi
 */
public class TicketController {

	public List<Ticket> getTicketsByStatus(int statusId) {
		return null;
	}

	public Ticket getTicketById(int ticketId) {
		return null;
	}

	public void updateTicket(Ticket ticket) throws UpdateException{

	}

	public void insertTicket(Ticket ticket) throws InsertException {

	}
        
        public void importFromXML(String sourceXML) throws ImportException, ParserConfigurationException, SAXException, IOException{
            
            
        }

}
